//目标：将学号为19的学生 删除
const mysql = require('mysql');
const conn = mysql.createConnection({
  host:"127.0.0.1",
  user:"root",
  password:"root",
  database:"myjune",
  port:3306
});
conn.connect();
const sql = "delete from student where sno=19"
conn.query(sql,(err,result)=>{
  if(err){
    return console.log(err);
  }
  console.log(result);
});
conn.end();